<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>{% block title %}{% endblock %}</title>
    {% load static %}
    <link rel="stylesheet" type="text/css" href="{% static 'resource/site.css' %}"/>
</head>

<body>
<div class="navbar">
    <a href="{% url 'resource:home' %}" class="navbar-brand">Home</a>
    <a href="{% url 'resource:subscriptions' %}" class="navbar-brand">订阅</a>
    <a href="{% url 'resource:resources' 'auth' 'subscription' 'location' %}" class="navbar-brand">资源</a>
    <a href="{% url 'admin:index' %}" class="navbar-brand">Admin</a>
    <a href="{% url 'resource:about' %}" class="navbar-item">About</a>
    <a href="{% url 'resource:contact' %}" class="navbar-item">Contact</a>
    <a href="{% url 'resource:logger' %}" class="navbar-item">Logger</a>
</div>

<div class="body-content">
    {% block content %}
    {% endblock %}
    <hr/>
    <footer>
        <p>© 2022</p>
    </footer>
</div>
</body>
</html>